﻿<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5shiv.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/static/h-ui.admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>查看入库/上报耗材</title>
</head>
<body>
<nav class="breadcrumb">
	<i class="Hui-iconfont">&#xe67f;</i>首页 <span class="c-gray en">&gt;</span>耗材管理
	<span class="c-gray en">&gt;</span>
	查看上报耗材
	<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
</nav>
<div class="page-container">
    <form action="{:U('Order/viewOrder')}" method="post">
    	<input type="hidden" name="uid" value="home" />
		<div class="text-c"> 日期范围：
			<input id="datemin" class="input-text Wdate" style="width:120px;" type="text" name="time1" placeholder="201701" value="{$time['time1']}" />
			-
			<input id="datemax" class="input-text Wdate" style="width:120px;" type="text" name="time2" placeholder="201706" value="{$time['time2']}"/>
			<button type="submit" class="btn btn-success radius" id="" name=""><i class="Hui-iconfont"></i>查看报表</button>
		</div>
	<div>
		<a class="btn btn-success radius" href="{:U('Order/create_xls')}"><i class="Hui-iconfont"></i>导出到Excel表</a>
	</div>
	<!--隐藏的耗材展示框-->
	<div class="" style="display:none;">;
		<image src="__PUBLIC__/image/test.jpg" style="width:300px;">
	</div>
	<!--end隐藏的耗材展示框-->
	<div class="mt-20">
		<h2 class="text-c">&nbsp;耗材{$make}一览</h2>		
		<table class="table table-border table-bordered table-hover table-bg table-sort" style="margin-top: 20px;">
			<thead>
				<tr class="text-c">
					<th width="6%">{$make}时间</th>
					<!--遍历耗材名称-->
					<volist name="goodsList" id="vo">
						<th width="32">{$vo.goodsname}</th>	
					</volist>
					<!-- end-->
					<th width="10%">总计</th>
				</tr>
				<tr class="text-c">
					<th width="10%">单价</th>
					<!--遍历耗材名称-->
					<volist name="goodsList" id="vo">
						<th width="30">{$vo.price}</th>	
					</volist>
					<!-- end-->
					<th> --</th>
				</tr>
            </thead>
			<volist name="orderList" id="order">
			<tbody>
				<tr class="text-c">
					<td rowspan="3">{$order.datetime|date='Y-m-d',###}</td>
					<!--遍历耗材价格-->
					<volist name="order.goodsList" id="vo">
						<input type="hidden" name="gid[]" value="{$vo.gid}">
						<td>{$vo.num}</td>
					</volist>
					<!--end遍历耗材价格-->
					<td>{$order.totalAll}</td>
				</tr>				
			</tbody>
			</volist>	
		</table>
	</div>

    <div class="mt-20 text-c">{$page}
        <!-- <button type="submit" class="btn btn-success radius" name="up"><i class="Hui-iconfont"></i>上一页</button>
        <button type="submit" class="btn btn-success radius" name="down">下一页<i class="Hui-iconfont"></i></button> -->
    </div>
    </form>
</div>    
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="__PUBLIC__/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="__PUBLIC__/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/h-ui/js/H-ui.min.js"></script> 
<script type="text/javascript" src="__PUBLIC__/static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript">

</script>
</body>
</html>